package com.mayuhao.classmanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mayuhao.classmanage.entity.CssClass;
import com.mayuhao.classmanage.entity.CssClassVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-25
 */
public interface ICssClassService extends IService<CssClass> {

    /**
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<com.mayuhao.classmanage.entity.CssClassVO>
     * @description 请修改方法描述
     * @methodName findPage
     * @params [pageNum, pageSize, searchId, searchName]
     * @paramType [java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String]
     * @author 马宇豪
     * @date 2022/10/25 0025 下午 5:26
     * @email 1757442521@qq.com
     **/
    Page<CssClassVO> findPage(Integer pageNum, Integer pageSize, String searchId, String searchName);

    void export(HttpServletResponse response) throws UnsupportedEncodingException;

    void imp(MultipartFile file);

    String findPro();
}
